<?php

namespace App\ModelFilters;


class SysMenuFilter extends BaseFilter
{
    /**
    * Related Models that have ModelFilters as well as the method on the ModelFilter
    * As [relationMethod => [input_key1, input_key2]].
    *
    * @var array
    */
    public $relations = [
    ];

    public function menu_name($value){
        return $this->where('menu_name','LIKE', "%$value%");
    }

    public function menu_type($value){
        return $this->where('menu_type', $value);
    }

    public function status($value){
        return $this->where('status', $value);
    }

}
